package com.bsdsma.fengheguaiapp.cos;

import lombok.Data;

import java.io.Serializable;

/**
 * 只有图片文件会返回 originalLocation, compressLocation字段
 */
@Data
public class CosUploadDTO implements Serializable {
    private static final long serialVersionUID = 3102895946543333035L;

    private String key;
    private String requestId;
    /**
     * 文件地址
     */
    private String location;
    /**
     * 原图地址
     */
    private String originalLocation;
    /**
     * 压缩后的图片地址
     */
    private String compressLocation;
    /**
     * 压缩后的图片Key
     */
    private String compressKey;
}
